package com.cn.jx.manager.service.query;

import java.util.List;

import com.cn.jx.common.util.page.PageObj;
import com.jx.jpaQuery.PageCondition;
import com.jx.util.MapObject;

/**
 * 
 * @author 姜旭
 * @version v1.11.20.2019
 * @since 
 * <p>创建时间：2019年12月23日
 * <p>功能描述：
 * <p>官方网站：management/admin/index
 * <p>邮箱地址：524577360@qq.com
 */
public interface IMessageServiceQry {
	
	/**
	 * 
	* findSenderMessage
	* @Description:TODO(已发邮件)
	* <p>邮箱地址: 524577360@qq.com
	* @throws
	 */
	public PageObj<MapObject> findEmailMessage(PageCondition page,String uid) throws Exception; 
	
	
	/**
	 * 
	* @Title:findLatelyReceiveMessage
	* @Description:TODO(获取当前登录人最近一天站内信，显示前10条)
	* <p>邮箱地址: 524577360@qq.com
	* @param sessionUserId
	* @return
	* List<MapObject>
	* @throws
	 */
	public List<MapObject> findLatelyReceiveMessage(String sessionUserId);
	
	/**
	 * 
	* @Title:findMessage
	* @Description:TODO(读取站内信)
	* <p>邮箱地址: 524577360@qq.com
	* MapObject
	* @throws
	 */
	public MapObject findMessage(String mesId);
	
	/**
	 * 
	* @Title:findInboxTotalCount
	* @Description:TODO(收件箱总条数)
	* <p>邮箱地址: 524577360@qq.com
	* @param userId
	* @return
	* int
	* @throws
	 */
	public int findInboxTotalCount(String userId);
	
	/**
	 * 
	* @Title:findInboxNoReadCount
	* @Description:TODO(收件箱未读条数)
	* <p>邮箱地址: 524577360@qq.com
	* @param userId
	* @return
	* int
	* @throws
	 */
	public int findInboxNoReadCount(String userId);
	
	/**
	 * 
	* @Title:findOutboxSendCount
	* @Description:TODO(已发送)
	* <p>邮箱地址: 524577360@qq.com
	* @param userId
	* @return
	* int
	* @throws
	 */
	public int findOutboxSendCount(String userId);
	
	/**
	 * 
	* @Title:findDeleteCount
	* @Description:TODO(已删除)
	* <p>邮箱地址: 524577360@qq.com
	* @param userId
	* @return
	* int
	* @throws
	 */
	public int findDeleteCount(String userId);
	
	/**
	 * 
	* @Title:findOutboxUnSendCount
	* @Description:TODO(未发送。草稿箱)
	* <p>邮箱地址: 524577360@qq.com
	* @param userId
	* @return
	* int
	* @throws
	 */
	public int findOutboxUnSendCount(String userId);
	
	/**
	 * 
	* @Title:findInboxNoReadTodayCount
	* @Description:TODO(今日邮件)
	* <p>邮箱地址: 524577360@qq.com
	* @param userId
	* @return
	* int
	* @throws
	 */
	public Long findInboxTodayCount(String userId);
	
}
